#ifndef REPAIRMANAGEWIDGET_H
#define REPAIRMANAGEWIDGET_H

#include <QWidget>
#include <QSqlTableModel>

namespace Ui {
class RepairManageWidget;
}

class RepairManageWidget : public QWidget
{
    Q_OBJECT

public:
    explicit RepairManageWidget(QWidget *parent = 0);
    ~RepairManageWidget();

private slots:
    void flushTable();
    void on_btn_repair_apply_clicked();

    void on_btn_repair_rate_clicked();

    void on_btn_ready_clicked();

    void on_btn_finish_clicked();

private:
    Ui::RepairManageWidget *ui;
    QSqlTableModel *model;
    void initWindow();
    void initTable();
};

#endif // REPAIRMANAGEWIDGET_H
